﻿
package extremefx.i18n {
	/**
	 * @author Marcelo Volmaro
	 * toString method uses the current Culture.currentCulture property. 
	 * A class that implements IFormattable must support the "G" (general) formatting code. 
	 * Besides the "G" code, the class can define the list of formatting codes that it supports.
	 * 
	 * A standard format takes the form Axx, where A is an alphabetic character called the format specifier, 
	 * and xx is a nonnegative integer called the precision specifier. 
	 * The format specifier controls the type of formatting applied to the value being represented as a string. 
	 * The precision specifier controls the number of significant digits or decimal places in the string, 
	 * if applicable.
	 */
	public interface IFormattable {
		function toString(pFormat:String = "", pFProvider: IFormatProvider = null):String;
	}
}
